<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>互助湖经</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdn.bootcdn.net/ajax/libs/bootstrap-icons/1.10.0/font/bootstrap-icons.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/admin-lte@3.2/dist/css/adminlte.min.css">

    <script src="{{ url_for('static',filename='fetch.js') }}"></script>
    <script src="{{ url_for('static',filename='urls.js') }}"></script>
    <script src="{{ url_for('static',filename='flash.js') }}"></script>
    <script src="{{ url_for('static',filename='html/html.js') }}"></script>

    <script>
        window.onload = async function() {
            await Fetch('{{ url_for('systemallurls') }}', 'get', {}, res => {
                if (res.status === 'success') {
                    document.dispatchEvent(new CustomEvent('urlsLoaded', {
                        detail: res.data
                    }));
                }
            });
        };
    </script>
    <style>
        a {
            text-decoration: none;
        }
    </style>
</head>
<body class="bg-light">
    {% block content %}{% endblock %}
    {% block script %}{% endblock %}

    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/flatpickr"></script>
    <script src="https://cdn.jsdelivr.net/npm/flatpickr/dist/l10n/zh.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/tinymce@6/tinymce.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/admin-lte@3.2/dist/js/adminlte.min.js"></script>
</body>
</html>